package com.bd.scm.domain.dto.schedule;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import io.swagger.annotations.ApiModel;

/**
 * @author yufc
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "排班班组")
public class ScheduleGroupDto {
    /**
     * 班组ID
     */
    @ApiModelProperty( value = "班组ID,新增时设置0,修改时设置班组ID", dataType = "Integer", position = 0, required = true, example = "0")
    private Integer id;

    /**
     * 班组名称
     */
    @ApiModelProperty( value = "班组名称", dataType = "String", position = 1, required = true, example = "班组A")
    private String groupName;

    /**
     * 是否启用
     */
    @ApiModelProperty( value = "是否启用, 0：禁用，1：启用", dataType = "Integer", position = 2, required = true, example = "1")
    private Integer isEnable;

    @ApiModelProperty( value = "是否启用, 0：禁用，1：启用", dataType = "Integer", position = 2, required = true, example = "1", hidden = true)
    private Long createId;

    @ApiModelProperty( value = "是否启用：是，否", dataType = "String", position = 3, required = false, example = "是")
    private String isEnableName;

    @ApiModelProperty( value = "班组创建人部门ID", dataType = "Integer", position = 4, required = false, example = "20002300")
    private Integer userDep;

    @ApiModelProperty( value = "班组创建人部门名称", dataType = "String", position = 5, required = false, example = "质量部")
    private String depName;

    @ApiModelProperty( value = "是否禁用", notes = "", dataType = "String", position = 5, required = false, example = "")
    private String badge;
}

